<?php

// грузим типы документов

global $FU;
$config_dir = $FU->dir->config;

//$ctx->doctypes = array();
//require_once "$config_dir/conf.d/doctype.php";
//$self =& $ctx->doctypes;

require_once "$config_dir/conf.d/doctype.php";

$ctx->doctypes = $self;

require_once "$config_dir/conf.d/system_fields.php";
$ctx->system_fields = $self;

